package com.feicheng.controller.order;

import com.alibaba.fastjson.JSONObject;
import com.feicheng.common.result.ResultInfo;
import com.feicheng.service.IFOrderService;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/order")
public class OrderController {

    IFOrderService orderService;

    @PostMapping("/info")
    public ResultInfo order(@RequestBody JSONObject param) {
        return orderService.yuding(param);
    }
}
